package com.qf.smartplatform.service.impl;

import com.qf.smartplatform.mapper.LoginMapper;
import com.qf.smartplatform.pojo.SysLogininfor;
import com.qf.smartplatform.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class LoginServiceImpl implements LoginService {
    private LoginMapper loginMapper;
@Autowired
    public void setLoginMapper(LoginMapper loginMapper) {
        this.loginMapper = loginMapper;
    }

    @Override
    public void addLog(SysLogininfor sysLogininfor) {
        loginMapper.addLog(sysLogininfor);
    }
}
